package com.lee.article;

import com.lee.api.config.FeignDefaultConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@EnableFeignClients(basePackages = "com.lee.api.client", defaultConfiguration = FeignDefaultConfig.class) // 启动 Feign 功能
@MapperScan("com.lee.article.mapper")
@SpringBootApplication
public class ArticleApplication {
    public static void main(String[] args) {
        SpringApplication.run(ArticleApplication.class, args);
    }
}
